package cn.shun.mapper;

import cn.shun.entity.Student;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.cache.decorators.FifoCache;

import java.util.List;
import java.util.Map;

/**
 * <p>Project: MyBatis2023 - StudentMapper
 * <p>Powered by yishun On 2023-02-01 08:32:47
 *
 * @author yishun [2465734101@qq.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface StudentMapper {
    List<Student> queryAll();

    List<Map<String,Object>> selectAll();
    List<Map<String,Object>> selectAll(Map<String,Object> map);


    int update(Map<String,Object> map);
    int save(Map<String,Object> map);

    List<Student> show();
    List<Student> show(Map<String,Object> map);

    List<Student> page();
    List<Student> page(Map<String,Object> map);
}
